# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corepad
pkgver=3.0.1
pkgrel=0
pkgdesc="A document editor from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corepad/-/archive/v$pkgver/corepad-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="d49b126703f200f08dc3602c809a8c8de0f1404dd65341b9fccb0749b7183b4a2ef1e79d9247c4f8bb6098859fb231120711abe30a4020e9dbbf61c401be8470  corepad-3.0.1.tar.gz"
